package top.jsjkxyjs.blackbox.service;

import top.jsjkxyjs.blackbox.entity.Event;
import top.jsjkxyjs.blackbox.entity.User;

import java.util.List;

public interface EventService {
	List<Event> getAllEvents();

	Event insertEvent(Event event);

	boolean eventEnd(User user, int id);
}
